#include "limbo/ip/ipv4_address.h"
#include "limbo/order.hpp"

using namespace limbo::ip;

IPv4Address IPv4Address::from_native(uint32_t value) {
  return IPv4Address(order::native_to_big(value));
}

IPv4Address IPv4Address::from_network(uint32_t value) {
  return IPv4Address(value);
}
